package com.renke.enml;

public class PairExpression extends Expression {
	private final String signal;
	private final Expression thisExp;
	private final Expression nextExp;

	PairExpression(String signal, Expression thisExp, Expression nextExp) {
		super(thisExp + signal + nextExp);
		this.signal = signal;
		this.thisExp = thisExp;
		this.nextExp = nextExp;
	}

	public String getSignal() {
		return signal;
	}

	public Expression getThisExp() {
		return thisExp;
	}

	public Expression getNextExp() {
		return nextExp;
	}

}
